// 试验箱设备能力配置
// T->temperature(温度)、、TH ->temperatureHumidity(温度、湿度)、THP->temperatureHumidityPressure(温度、湿度、气压)、
// TShock->temperatureShock(温度冲击)
// 后端表设计问题:一开始未考虑接入多种试验箱且理解参数有误，
//                             导致表设计存在缺陷，已有数据，数据库表设计不做更改，为方便后端通过反射获取对应值，dataName指向的key对应实际字段，实际含义可通过propertyName了解
const labCurTemp = {
  propertyName: '实测温度',
  dataName: 'labCurTemp',
  unit: '℃',
  textColor: '#F69A53'
}
const labTarTemp = {
  propertyName: '设定温度',
  dataName: 'labTarTemp',
  unit: '℃'
}
const labCurHumi = {
  propertyName: '实测湿度',
  dataName: 'labCurHumi',
  unit: '%RH',
  textColor: '#F69A53'
}
const labTarHumi = {
  propertyName: '设定湿度',
  dataName: 'labTarHumi',
  unit: '%RH'
}

const pressureCurValue = {
  propertyName: '实测气压',
  dataName: 'pressureCurValue',
  unit: 'kPa',
  textColor: '#F69A53'
}
const pressureTarValue = {
  propertyName: '设定气压',
  dataName: 'pressureTarValue',
  unit: 'kPa'
}
const labSampleCurTemp = {
  propertyName: '试验区实测温度',
  dataName: 'labSampleCurTemp',
  unit: '℃',
  textColor: '#F69A53'
}
const labHexpCurTemp = {
  propertyName: '高温区实测温度',
  dataName: 'labHexpCurTemp',
  unit: '℃'
}
const labHexpTarTemp = {
  propertyName: '高温区设定温度',
  dataName: 'labHexpTarTemp',
  unit: '℃'
}
const labLexpCurTemp = {
  propertyName: '低温区实测温度',
  dataName: 'labLexpCurTemp',
  unit: '℃'
}
const labLexpTarTemp = {
  propertyName: '低温区设定温度',
  dataName: 'labLexpTarTemp',
  unit: '℃'
}
const saltSprayLabCurTemp = {
  propertyName: '试验箱实测温度',
  dataName: 'labCurTemp',
  unit: '℃',
  textColor: '#F69A53'
}
const saltSprayLabTarTemp = {
  propertyName: '试验箱设定温度',
  dataName: 'labTarTemp',
  unit: '℃'
}
const labCurPressure = {
  propertyName: '实测气压',
  dataName: 'labCurPressure',
  unit: 'kPa',
  textColor: '#F69A53'
}
const labTarPressure = {
  propertyName: '设定气压',
  dataName: 'labTarPressure',
  unit: 'kPa'
}

const saturateTempCurValue = {
  propertyName: '饱和桶实测温度',
  dataName: 'saturateTempCurValue',
  unit: '℃',
  textColor: '#F69A53'
}
const saturateTempTarValue = {
  propertyName: '饱和桶设定温度',
  dataName: 'saturateTempTarValue',
  unit: '℃'
}

// const labCurTemp = {
//   propertyName: '常温室实测温度',
//   dataName: 'labCurTemp',
//   unit: '℃'
// }
const leftLabCurTemp = {
  propertyName: '左(高)腔室实测温度',
  dataName: 'leftLabCurTemp',
  unit: '℃',
  textColor: '#F69A53'
}
const leftLabCurHumi = {
  propertyName: '左(高)腔室实测湿度',
  dataName: 'leftLabCurHumi',
  unit: '%RH',
  textColor: '#F69A53'
}
const rightLabCurTemp = {
  propertyName: '右(低)腔室实测温度',
  dataName: 'rightLabCurTemp',
  unit: '℃',
  textColor: '#F69A53'
}
const rightLabCurHumi = {
  propertyName: '右(低)腔室实测湿度',
  dataName: 'rightLabCurHumi',
  unit: '%RH',
  textColor: '#F69A53'
}
const leftLabTarTemp = {
  propertyName: '左(高)腔室设定温度',
  dataName: 'leftLabTarTemp',
  unit: '℃'
}
const leftLabTarHumi = {
  propertyName: '左(高)腔室设定湿度',
  dataName: 'leftLabTarHumi',
  unit: '%RH'
}
const rightLabTarTemp = {
  propertyName: '右(低)腔室设定温度',
  dataName: 'rightLabTarTemp',
  unit: '℃'
}
const rightLabTarHumi = {
  propertyName: '右(低)腔室设定湿度',
  dataName: 'rightLabTarHumi',
  unit: '%RH'
}
const freezeLabCurTemp = {
  propertyName: '试验箱实测温度',
  dataName: 'labCurTemp',
  unit: '℃',
  textColor: '#F69A53'
}
const waterBoxCurTemp = {
  propertyName: '水箱实测温度',
  dataName: 'waterBoxCurTemp',
  unit: '℃',
  textColor: '#F69A53'
}
const dripTrayCurTemp = {
  propertyName: '滴雨盘实测温度',
  dataName: 'dripTrayCurTemp',
  unit: '℃',
  textColor: '#F69A53'
}
const labCurRainfall = {
  propertyName: '实测降雨强度',
  dataName: 'labCurRainfall',
  unit: 'mm/h',
  textColor: '#F69A53'
}
const curIceThickness = {
  propertyName: '实测冰层厚度',
  dataName: 'curIceThickness',
  unit: 'mm',
  textColor: '#F69A53'
}

const waterBoxTarTemp = {
  propertyName: '水箱设定温度',
  dataName: 'waterBoxTarTemp',
  unit: '℃'
}
const labTarRainfall = {
  propertyName: '设定降雨强度',
  dataName: 'labTarRainfall',
  unit: 'mm/h'
}

const labTarNitrogenDioxide = {
  propertyName: '设定NO2浓度',
  dataName: 'labTarNitrogenDioxide',
  unit: 'ml/min'
}
const labCurNitrogenDioxide = {
  propertyName: '实测NO2浓度',
  dataName: 'labCurNitrogenDioxide',
  unit: 'ml/min',
  textColor: '#F69A53'
}
const labTarSulfurDioxide = {
  propertyName: '设定SO2浓度',
  dataName: 'labTarSulfurDioxide',
  unit: 'ml/min'
}
const labCurSulfurDioxide = {
  propertyName: '实测SO2浓度',
  dataName: 'labCurSulfurDioxide',
  unit: 'ml/min',
  textColor: '#F69A53'
}
const labTarHydrogenSulfide = {
  propertyName: '设定H2S浓度',
  dataName: 'labTarHydrogenSulfide',
  unit: 'ml/min'
}
const labCurHydrogenSulfide = {
  propertyName: '实测H2S浓度',
  dataName: 'labCurHydrogenSulfide',
  unit: 'ml/min',
  textColor: '#F69A53'
}
const labTarChlorine = {
  propertyName: '设定Cl2浓度',
  dataName: 'labTarChlorine',
  unit: 'ml/min'
}
const labCurChlorine = {
  propertyName: '实测Cl2浓度',
  dataName: 'labCurChlorine',
  unit: 'ml/min',
  textColor: '#F69A53'
}
const labTarCompressedAir = {
  propertyName: '设定压缩空气浓度',
  dataName: 'labTarCompressedAir',
  unit: 'ml/min',
  textColor: '#F69A53'
}
const labCurCompressedAir = {
  propertyName: '实测压缩空气浓度',
  dataName: 'labCurCompressedAir',
  unit: 'l/min',
  textColor: '#F69A53'
}

// 温度试验箱能力列表
const TBoxAbilityList = [labTarTemp, labCurTemp]

// 温湿度试验箱能力列表
const THBoxAbilityList = [labTarTemp, labCurTemp, labTarHumi, labCurHumi]
// 温度气压试验箱能力列表
const TPBoxAbilityList = [labTarTemp, labCurTemp, pressureTarValue, pressureCurValue]
// 温湿度气压试验箱能力列表
const THPBoxAbilityList = [labTarTemp, labCurTemp, labTarHumi, labCurHumi, labTarPressure, labCurPressure]
// 温度冲击试验箱能力列表
const TShockBoxAbilityList = [labSampleCurTemp, labHexpCurTemp, labHexpTarTemp, labLexpCurTemp, labLexpTarTemp]
// 盐雾腐蚀试验箱能力列表
const saltSprayBoxAbilityList = [
  saltSprayLabTarTemp,
  saltSprayLabCurTemp,
  saturateTempTarValue,
  saturateTempCurValue
]

const box1C01AbilityList = THBoxAbilityList
const box1D01AbilityList = TBoxAbilityList
const box1E01AbilityList = TBoxAbilityList
const box1F01AbilityList = TShockBoxAbilityList
const box1G01AbilityList = TShockBoxAbilityList
const box1J01AbilityList = TShockBoxAbilityList
const box1K01AbilityList = THPBoxAbilityList
const box1H01AbilityList = THBoxAbilityList
const box1I01AbilityList = TBoxAbilityList
// 广州创牛温度冲击试验箱能力列表
// const gzcnThermalShockBoxAbilityList = [
//   leftLabTarTemp,
//   leftLabCurTemp,
//   leftLabTarHumi,
//   leftLabCurHumi,
//   rightLabTarTemp,
//   rightLabCurTemp,
//   rightLabTarHumi,
//   rightLabCurHumi,
//   labCurTemp
// ]
// 广州创牛积冰冻雨试验箱能力列表
// const gzcnFreezeBoxAbilityList = [
//   labTarTemp,
//   freezeLabCurTemp,
//   waterBoxTarTemp,
//   waterBoxCurTemp,
//   curIceThickness,
//   dripTrayCurTemp,
//   labTarRainfall,
//   labCurRainfall
// ]
// 气体腐蚀试验箱能力列表
// const votechGasattackBoxAbilityList = [
//   labTarTemp,
//   labCurTemp,
//   labTarHumi,
//   labCurHumi,
//   labTarNitrogenDioxide,
//   labCurNitrogenDioxide,
//   labTarSulfurDioxide,
//   labCurSulfurDioxide,
//   labTarHydrogenSulfide,
//   labCurHydrogenSulfide,
//   labTarChlorine,
//   labCurChlorine,
//   labTarCompressedAir,
//   labCurCompressedAir
// ]
export default {
  TBoxAbilityList,
  THBoxAbilityList,
  TPBoxAbilityList,
  THPBoxAbilityList,
  TShockBoxAbilityList,
  saltSprayBoxAbilityList,
  box1C01AbilityList,
  box1D01AbilityList,
  box1E01AbilityList,
  box1F01AbilityList,
  box1G01AbilityList,
  box1H01AbilityList,
  box1I01AbilityList,
  box1J01AbilityList,
  box1K01AbilityList
  // gzcnFreezeBoxAbilityList
  // gzcnThermalShockBoxAbilityList,
  // votechGasattackBoxAbilityList
}
